﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:src="clr-namespace:MDCAdminTool.Commands"
    xmlns:r="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary">

   <RoutedUICommand x:Key="SaveCacheHost" Text="Save" />
   
   <r:RibbonCommand x:Key="AddCacheHost"
        LabelTitle="Add Host"
        ToolTipTitle="Add Cache Host"
        ToolTipDescription=""
        SmallImageSource="..\..\Resources\add-server.png"
        LargeImageSource="..\..\Resources\add-server.png" />

    <r:RibbonCommand x:Key="RemoveCacheHost"
        LabelTitle="Remove"
        ToolTipTitle="Remove Cache Host"
        ToolTipDescription=""
        SmallImageSource="..\..\Resources\remove-server.png"
        LargeImageSource="..\..\Resources\remove-server.png" />

    <r:RibbonCommand x:Key="StartCacheHost"
        LabelTitle="Start"
        ToolTipTitle="Start Cache Host"
        ToolTipDescription="Starts the specified cache host service."
        SmallImageSource="..\..\Resources\Play.png"
        LargeImageSource="..\..\Resources\Play.png" />

   <r:RibbonCommand x:Key="StopCacheHost"
        LabelTitle="Stop"
        ToolTipTitle="Stop Cache Host"
        ToolTipDescription="Stops the specified cache host service."
        SmallImageSource="..\..\Resources\stop-normal-blue.png"
        LargeImageSource="..\..\Resources\stop-normal-blue.png" />
   
   <r:RibbonCommand x:Key="RestartCacheHost"
        LabelTitle="Restart"
        ToolTipTitle="Restart Cache Host"
        ToolTipDescription="Restart the specified cache host service."
        SmallImageSource="..\..\Resources\start-2.png"
        LargeImageSource="..\..\Resources\start-2.png" />
   
   <r:RibbonCommand x:Key="StatisticsCacheHost"
        LabelTitle="Statistics"
        ToolTipTitle="Shows statistics for the specified cache host."
        ToolTipDescription="Shows statistics for the specified cache host including: size (in bytes), number of caches, regions, cached objects, and cache misses."
        SmallImageSource="..\..\Resources\network-statistics.png"
        LargeImageSource="..\..\Resources\network-statistics.png" />   

   <r:RibbonCommand x:Key="ConfigCacheHost"
        LabelTitle="Config"
        ToolTipTitle="Cache Host Configuration"
        ToolTipDescription="Configuration specified cache host."
        SmallImageSource="..\..\Resources\configure-1.png"
        LargeImageSource="..\..\Resources\configure-1.png" />
   
   <r:RibbonCommand x:Key="ReloadCacheHost"
        LabelTitle="Reload"
        ToolTipTitle="Reload Cache Host data"
        ToolTipDescription="Reload cache host data."
        SmallImageSource="..\..\Resources\Reload.png"
        LargeImageSource="..\..\Resources\Reload.png" />

    <r:RibbonCommand x:Key="StartPowerShell"
        LabelTitle="Open remote PS session"
        ToolTipTitle="Opens power shell command window"
        ToolTipDescription="Opens power shell command windows on the remote host."
        SmallImageSource="..\..\Resources\windows-command.png"
        LargeImageSource="..\..\Resources\windows-command.png" />

</ResourceDictionary>